package nc.tb.report.plugin;

import com.ufsoft.report.UfoReport;
import com.ufsoft.report.plugin.AbstractPlugDes;
import com.ufsoft.report.plugin.ICommandExt;
import com.ufsoft.report.plugin.IExtension;
import com.ufsoft.report.plugin.IPlugIn;

/** 
 * @author yuyonga 
 */
public class TbPostilDescriptor extends AbstractPlugDes {

	protected UfoReport m_report = null;
    public TbPostilDescriptor(UfoReport m_report,IPlugIn plugin) {
        super(plugin);
        this.m_report = m_report;
    }

    public String getName() {
        return null;
    }

    public String getNote() {
        return null;
    }

    public String[] getPluginPrerequisites() {
        return null;
    }

    public IExtension[] createExtensions() {
        return new ICommandExt[]{
        		new TbInsertPostilExt(m_report,(TbPlugin)getPlugin()),
        		new TbEditPostilExt(m_report,(TbPlugin)getPlugin()),
        		new TbDeletePostilExt(m_report,(TbPlugin)getPlugin()),
        		new TbShowPostilExt(m_report,(TbPlugin)getPlugin())
        };
    }

    public String getHelpNode() {
        return null;
    }

}
